package com.yanqu.road.entity.wingroom.chakra.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.wingroom.chakra.WingRoomChakraPatronsAddItem;

import java.util.List;

public class UserWingRoomChakraDetail extends DataObject {

    /**
     * 玩家ID
     */
    private Long userId;
    /**
     * 职业
     */
    private int occupation;
    /**
     * 类型1命格2四象
     */
    private int type;
    /**
     * 位置
     */
    private int position;
    /**
     * 五行类型
     */
    private int wxType;
    /**
     * 等级
     */
    private int level;
    /**
     * 品质
     */
    private int quality;
    /**
     * 加成门客
     */
    private List<WingRoomChakraPatronsAddItem> patronsList;
    /**
     * 创建时间
     */
    private Long createTime;
    /**
     * 更新时间
     */
    private Long updateTime;

    public void setUserId(Long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public Long getUserId() {
        return userId;
    }

    public void setOccupation(int occupation) {
        if(this.occupation != occupation) {
            this.occupation = occupation;
            setUpdateOption();
        }
    }

    public int getOccupation() {
        return occupation;
    }

    public void setType(int type) {
        if(this.type != type) {
            this.type = type;
            setUpdateOption();
        }
    }

    public int getType() {
        return type;
    }

    public void setPosition(int position) {
        if(this.position != position) {
            this.position = position;
            setUpdateOption();
        }
    }

    public int getPosition() {
        return position;
    }

    public void setWxType(int wxType) {
        if(this.wxType != wxType) {
            this.wxType = wxType;
            setUpdateOption();
        }
    }

    public int getWxType() {
        return wxType;
    }

    public void setLevel(int level) {
        if(this.level != level) {
            this.level = level;
            setUpdateOption();
        }
    }

    public int getLevel() {
        return level;
    }

    public void setQuality(int quality) {
        if(this.quality != quality) {
            this.quality = quality;
            setUpdateOption();
        }
    }

    public int getQuality() {
        return quality;
    }

    public List<WingRoomChakraPatronsAddItem> getPatronsList() {
        return patronsList;
    }

    public void setPatronsList(List<WingRoomChakraPatronsAddItem> patronsList) {
        if(this.patronsList != patronsList) {
            this.patronsList = patronsList;
            setUpdateOption();
        }
    }

    public void setCreateTime(Long createTime) {
        if(this.createTime != createTime) {
            this.createTime = createTime;
            setUpdateOption();
        }
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(Long updateTime) {
        if(this.updateTime != updateTime) {
            this.updateTime = updateTime;
            setUpdateOption();
        }
    }

    public Long getUpdateTime() {
        return updateTime;
    }
}
